3.3.43 \(\int x^2 (a+b \log (c (d x^m)^n))^p \, dx\) [243]

Optimal. Leaf size=117 \[ 3^{-1-p} e^{-\frac {3 a}{b m n}} x^3 \left (c \left (d x^m\right )^n\right )^{-\frac {3}{m n}} \Gamma \left (1+p,-\frac {3 \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{b m n}\right ) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )^p \left (-\frac {a+b \log \left (c \left (d x^m\right )^n\right )}{b m n}\right )^{-p} \]

[Out]

3^(-1-p)*x^3*GAMMA(1+p,-3*(a+b*ln(c*(d*x^m)^n))/b/m/n)*(a+b*ln(c*(d*x^m)^n))^p/exp(3*a/b/m/n)/((c*(d*x^m)^n)^(
3/m/n))/(((-a-b*ln(c*(d*x^m)^n))/b/m/n)^p)

________________________________________________________________________________________

Rubi [A]
time = 0.11, antiderivative size = 117, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {2347, 2212, 2495} \begin {gather*} 3^{-p-1} x^3 e^{-\frac {3 a}{b m n}} \left (c \left (d x^m\right )^n\right )^{-\frac {3}{m n}} \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )^p \left (-\frac {a+b \log \left (c \left (d x^m\right )^n\right )}{b m n}\right )^{-p} \text {Gamma}\left (p+1,-\frac {3 \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{b m n}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^2*(a + b*Log[c*(d*x^m)^n])^p,x]

[Out]

(3^(-1 - p)*x^3*Gamma[1 + p, (-3*(a + b*Log[c*(d*x^m)^n]))/(b*m*n)]*(a + b*Log[c*(d*x^m)^n])^p)/(E^((3*a)/(b*m
*n))*(c*(d*x^m)^n)^(3/(m*n))*(-((a + b*Log[c*(d*x^m)^n])/(b*m*n)))^p)

Rule 2212

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> Simp[(-F^(g*(e - c*(f/d))))*((c
+ d*x)^FracPart[m]/(d*((-f)*g*(Log[F]/d))^(IntPart[m] + 1)*((-f)*g*Log[F]*((c + d*x)/d))^FracPart[m]))*Gamma[m
 + 1, ((-f)*g*(Log[F]/d))*(c + d*x)], x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rule 2347

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Dist[(d*x)^(m + 1)/(d*n*(c*x^n
)^((m + 1)/n)), Subst[Int[E^(((m + 1)/n)*x)*(a + b*x)^p, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, d, m, n, p}
, x]

Rule 2495

Int[((a_.) + Log[(c_.)*((d_.)*((e_.) + (f_.)*(x_))^(m_.))^(n_)]*(b_.))^(p_.)*(u_.), x_Symbol] :> Subst[Int[u*(
a + b*Log[c*d^n*(e + f*x)^(m*n)])^p, x], c*d^n*(e + f*x)^(m*n), c*(d*(e + f*x)^m)^n] /; FreeQ[{a, b, c, d, e,
f, m, n, p}, x] &&  !IntegerQ[n] &&  !(EqQ[d, 1] && EqQ[m, 1]) && IntegralFreeQ[IntHide[u*(a + b*Log[c*d^n*(e
+ f*x)^(m*n)])^p, x]]

Rubi steps

\begin {align*} \int x^2 \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )^p \, dx &=\text {Subst}\left (\int x^2 \left (a+b \log \left (c d^n x^{m n}\right )\right )^p \, dx,c d^n x^{m n},c \left (d x^m\right )^n\right )\\ &=\text {Subst}\left (\frac {\left (x^3 \left (c d^n x^{m n}\right )^{-\frac {3}{m n}}\right ) \text {Subst}\left (\int e^{\frac {3 x}{m n}} (a+b x)^p \, dx,x,\log \left (c d^n x^{m n}\right )\right )}{m n},c d^n x^{m n},c \left (d x^m\right )^n\right )\\ &=3^{-1-p} e^{-\frac {3 a}{b m n}} x^3 \left (c \left (d x^m\right )^n\right )^{-\frac {3}{m n}} \Gamma \left (1+p,-\frac {3 \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{b m n}\right ) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )^p \left (-\frac {a+b \log \left (c \left (d x^m\right )^n\right )}{b m n}\right )^{-p}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.13, size = 117, normalized size = 1.00 \begin {gather*} 3^{-1-p} e^{-\frac {3 a}{b m n}} x^3 \left (c \left (d x^m\right )^n\right )^{-\frac {3}{m n}} \Gamma \left (1+p,-\frac {3 \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{b m n}\right ) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )^p \left (-\frac {a+b \log \left (c \left (d x^m\right )^n\right )}{b m n}\right )^{-p} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^2*(a + b*Log[c*(d*x^m)^n])^p,x]

[Out]

(3^(-1 - p)*x^3*Gamma[1 + p, (-3*(a + b*Log[c*(d*x^m)^n]))/(b*m*n)]*(a + b*Log[c*(d*x^m)^n])^p)/(E^((3*a)/(b*m
*n))*(c*(d*x^m)^n)^(3/(m*n))*(-((a + b*Log[c*(d*x^m)^n])/(b*m*n)))^p)

________________________________________________________________________________________

Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int x^{2} \left (a +b \ln \left (c \left (d \,x^{m}\right )^{n}\right )\right )^{p}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a+b*ln(c*(d*x^m)^n))^p,x)

[Out]

int(x^2*(a+b*ln(c*(d*x^m)^n))^p,x)

________________________________________________________________________________________

Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*log(c*(d*x^m)^n))^p,x, algorithm="maxima")

[Out]

Exception raised: RuntimeError >> ECL says: In function CAR, the value of the first argument is  0which is not
 of the expected type LIST

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*log(c*(d*x^m)^n))^p,x, algorithm="fricas")

[Out]

integral((b*log((d*x^m)^n*c) + a)^p*x^2, x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{2} \left (a + b \log {\left (c \left (d x^{m}\right )^{n} \right )}\right )^{p}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(a+b*ln(c*(d*x**m)**n))**p,x)

[Out]

Integral(x**2*(a + b*log(c*(d*x**m)**n))**p, x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*log(c*(d*x^m)^n))^p,x, algorithm="giac")

[Out]

integrate((b*log((d*x^m)^n*c) + a)^p*x^2, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^2\,{\left (a+b\,\ln \left (c\,{\left (d\,x^m\right )}^n\right )\right )}^p \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a + b*log(c*(d*x^m)^n))^p,x)

[Out]

int(x^2*(a + b*log(c*(d*x^m)^n))^p, x)

________________________________________________________________________________________